Format 05 is the ISO 9564-1 Format 1 PIN Block represented by the following 16 hexadecimal values:
1NP 1 . . P N R . . R
Where:
N is the PIN length (4 - C),
P 1 . . P N is the N-digit PIN,
R . . R is random padding.
The following validity checks are carried out on incoming Format 05 PIN blocks:
·
The first character of the PIN block has
value 1.
Error code 20 is returned if this check fails.
·
The PIN digits (in positions 3 - (N+2))
are in the range 0 to 9.
Error code 20 is returned if this check fails.
·
The second character (N) is in the hexadecimal
range 4 - C.
Error code 24 is returned if this check fails.